const panelCmd = [
  {
    tag: /切换全屏/gi,
    action: 'toggleFullScreen',
    type: 'system'
  },
  {
    tag: /全屏显示/gi,
    action: 'fullScreen',
    type: 'system'
  },
  {
    tag: /退出全屏/gi,
    action: 'exitScreen',
    type: 'system'
  },
  {
    tag: /(打开|开启)控制面板/gi,
    action: 'panelServer.open',
    type: 'system'
  },
  {
    tag: /关闭控制面板/gi,
    action: 'panelServer.close',
    type: 'system'
  },
  {
    tag: /重新加载/gi,
    exec: () => {
      window.location.reload()
    }
  },
  {
    tag: /(打开|开启)(系统设置|项目设置|开发者)/gi,
    action: 'panelServer.activeTab',
    type: 'system'
  },
]
export default panelCmd